package com.violet.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("user")
public class User implements PO {
    private String id;
    private String phone;
    private String username;
    private String image;
    private Boolean status;
    private Integer orderCount;           // 下单数
    private Double totalConsumption;      // 消费总金额
    private LocalDateTime createTime;     // 创建时间
    private LocalDateTime lastLoginTime;  // 最后登录时间
}
